package com.java.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * 备件流水(SparePartsFlow)实体类
 *
 * @author 安能
 * @since 2020-07-01 11:28:05
 */
public class SparePartsFlow implements Serializable {
    private static final long serialVersionUID = -65398045150081924L;
    /**
    * 主键
    */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
    * 备件名称
    */
    private String sparePartsName;
    /**
    * 备件id
    */
    private Integer sparePartsId;
    /**
    * 数量
    */
    private Integer count;

    /**
    * 类型
    */
    private Integer type;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSparePartsName() {
        return sparePartsName;
    }

    public void setSparePartsName(String sparePartsName) {
        this.sparePartsName = sparePartsName;
    }

    public Integer getSparePartsId() {
        return sparePartsId;
    }

    public void setSparePartsId(Integer sparePartsId) {
        this.sparePartsId = sparePartsId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}